package com.doubledragon.tiny.ioc.io;

import java.net.URL;

/**
 * Created by dragon
 *
 * 加载配置文件
 */
public class ResourceLoad {

    public Resource getResource(String location){
        URL resource = this.getClass().getClassLoader().getResource(location);
        return new UrlResource(resource);
    }
}
